SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd)
ark_root=$(dirname $(dirname $(dirname $(dirname $(dirname "$SCRIPT_DIR")))))
arkcompiler_tool_path=$(dirname "$ark_root")/arkcompiler_tool
abckit_wrapper_root=$ark_root/arkcompiler/runtime_core/ark_guard/abckit_wrapper
arktsconfig_file=$abckit_wrapper_root/script/arktsconfig.json
src_root=$abckit_wrapper_root/tests/ut
build_root=$abckit_wrapper_root/tests/build/ut

echo "ark_root=$ark_root"
echo "arkcompiler_tool_path=$arkcompiler_tool_path"
echo "arktsconfigfile=$arktsconfigfile"

python $abckit_wrapper_root/script/generate_abc.py --arkcompiler_tool_path $arkcompiler_tool_path --arktsconfig_file $arktsconfig_file --src_root $src_root --build_root $build_root
